app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(cons, app2(f, x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(flatwithsub, f)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(app2(cons, app2(f, x)), nil)
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(append, app2(app2(flatwith, f), x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(flatwith, f)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(cons, app2(f, x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(flatwithsub, f)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(app2(cons, app2(f, x)), nil)
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(append, app2(app2(flatwith, f), x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(flatwith, f)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
POL( APP2(x1, x2) ) = max{0, x1 - 2}
POL( app2(x1, x2) ) = x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
POL( APP2(x1, x2) ) = max{0, x2 - 2}
POL( app2(x1, x2) ) = x1 + x2 + 1
POL( node ) = 2
POL( cons ) = 0
POL( leaf ) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
POL( APP2(x1, x2) ) = max{0, x2 - 2}
POL( app2(x1, x2) ) = x1 + x2 + 1
POL( cons ) = 1
POL( leaf ) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
POL( APP2(x1, x2) ) = max{0, x2 - 2}
POL( app2(x1, x2) ) = x1 + x2 + 1
POL( leaf ) = 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))